<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>  </title>
    <style>
        p{
            display: inline-block;
            background-color: red;
            width: 100px;
        }
    </style>
</head>
<body>
    <p>段落1</p>
    <p>段落2</p>
    <p>段落3</p>

    <div>
        <a href="#">百度</a>
        <a href="#">阿里</a>
        <a href="#">腾讯</a>
    </div>


</body>
</html>